<%@ page import="com.goodedeeds.webapp.controller.ProjectAction" %>
<%--@elvariable id="actionBean" type="com.goodedeeds.webapp.controller.ProjectAction"--%>
<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ include file="/WEB-INF/jsp/include/taglibs.jsp"%>
<div style="text-align: center; font-size: 1.5em;">Edit Project</div>
<stripes:form action="<%=ProjectAction.URL%>" method="post">
    <div>Parent Resource Id: <stripes:text name="parentResourceId" readonly="readonly"/></div>
    <div>Parent Resource Type: <stripes:text readonly="readonly" name="parentResourceType"/></div>
    <div>Project Id: <stripes:text name="projectId" readonly="readonly"/></div>
    <div>Project Key: <stripes:text name="project.projectKey"/></div>
    <div>Project Name: <stripes:text name="project.projectName"/></div>
    <div>Project Description: <stripes:text name="project.projectDescription"/></div>
    <div>Project Status: <stripes:text name="project.projectStatus"/></div>
    <div>Project Start Date: <input type="date" name="project.projectStartDate" value="${actionBean.project.projectStartDate}"/></div>
    <div>Project End Date: <input type="date" name="project.projectEndDate" value="${actionBean.project.projectEndDate}"/></div>
    <div>Project Goal Amount: <input type="number" step="any" name="project.goalAmount" value="${actionBean.project.goalAmount}"/></div>
    <stripes:submit name="save" value="Save"/>
</stripes:form>
